local coin = script.Parent local function onCollect(otherPart) local humanoid = otherPart.Parent:FindFirstChild("Humanoid") if humanoid then humanoid.JumpPower = 100 humanoid.WalkSpeed = 50 coin:Destroy() end end coin.Touched:Connect(onCollect)